﻿<Window x:Class="Project.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             WindowStartupLocation="CenterScreen"   Title="Brigada De Protección a la Familia" Height="600" Width="950" MinHeight="600" MinWidth="800" Icon="Images/Family Brigade Logo.ico">
    <Grid>
        <Grid Margin="0,-1,0,0" Name="MainMenu" Height="40" VerticalAlignment="Top">
            <Menu Name="MainMenuControl" Background="#69810E" FontSize="14" Foreground="White">
                <MenuItem Name="Complaints" Height="40" Foreground="White">
                    <MenuItem.Header>
                        <TextBlock Text="Denuncias" Foreground="White" VerticalAlignment="Center" />
                    </MenuItem.Header>
                    <MenuItem Name="RegisterComplaintMenu" Header="Registrar Denuncia" Foreground="White" Click="RegisterComplaint_Click" >
                    </MenuItem>
                    <MenuItem Header="Ver Denuncias" Foreground="White" Click="AllComplaints_Click"  >
                    </MenuItem>
                    <!--<MenuItem Header="Reg Part 2 (test prupouses only)" Click="MenuItem_OnClick"/>-->
                </MenuItem>

                <MenuItem Name="RegisterFunctionalityMenu" Height="40">
                    <MenuItem.Header>
                        <TextBlock Text="Registrar" VerticalAlignment="Center" Foreground="White"/>
                    </MenuItem.Header>
                    <MenuItem Name="Action" Header="Accion Directa" Foreground="White" Click="DirectAction_Click"></MenuItem>
                    <MenuItem Name="Medica" Header="Solicitud Evaluacion Medica" Foreground="White" Click="RequestingMedical_Click"></MenuItem>
                    <MenuItem Name="Citacion" Header="Citacion" Foreground="White" Click="MenuItem_Click_2"></MenuItem>
                    <MenuItem Name="Audiencia" Header="Audiencia" Click="RegisterAudience_Click"/>
                    <MenuItem Name="Declaracion" Header="Declaración" Click="NewDeclaration_Click"/>
                    <MenuItem Name="PsicoReport" Header="InformePsicologico" Click="PsicologistReport_Click"/>
                </MenuItem>
                
                
                <MenuItem Name="StatisticsMenu" Height="40" Click="Statistics_Click" Foreground="White" >
                    <MenuItem.Header>
                        <TextBlock Text="Estractos Estadísticos" Foreground="White" VerticalAlignment="Center"/>
                    </MenuItem.Header>
                </MenuItem>
                <MenuItem  Foreground="White" Name="EmployeesMenu">
                    <MenuItem.Header>
                        <TextBlock Text="Funcionarios" Foreground="White" VerticalAlignment="Center"/>
                    </MenuItem.Header>
                    <MenuItem Header="_Registrar Funcionario" Foreground="White" Click="FunctionaryRegister_Click"></MenuItem>
                    <MenuItem Header="_Ver Funcionarios" Foreground="White" Click="FindFunctionary_Click"/>
                </MenuItem>
                
            </Menu>
            <Button Height="23" HorizontalAlignment="Right" Margin="0,6,6,0" Name="btnLogOut" VerticalAlignment="Top" Width="105" Click="btnLogOut_Click" >
                <Button.Content>
                <StackPanel Orientation="Horizontal">
                    <TextBlock VerticalAlignment="Center" Text="Cerrar Sesión"></TextBlock>
                    <Image Name="btnImg" VerticalAlignment="Center" Margin="0,0,0,0" Source="Images/Key.gif" Height="20" ></Image>
                </StackPanel>
                </Button.Content>
            </Button>
        </Grid>
        <Grid Margin="0,38,0,0" Name="Content">
            <Grid Name="LogThings">
            <Grid Height="177" HorizontalAlignment="Left" Margin="293,118,0,0" Name="gridLogin" VerticalAlignment="Top" Width="308" >
                <Border BorderBrush="#5C5C5C" BorderThickness="2,4,2,4">
                    <Grid Background="#D6F4B3">
                        <Label Content="Usuario:"  FontSize="14" Height="28" HorizontalAlignment="Left" Margin="20,58,0,0" Name="label1" VerticalAlignment="Top" />
                        <Label Content="Contraseña:" FontSize="14"  Height="28" HorizontalAlignment="Left" Margin="20,93,0,0" Name="label2" VerticalAlignment="Top" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="73,57,0,0" Name="tbUsername" MaxLength="20" VerticalAlignment="Top" Width="197" />
                        <PasswordBox Height="23" BorderBrush="#BABABA" HorizontalAlignment="Left" Margin="96,92,0,0" MaxLength="16" Name="tbPassword" VerticalAlignment="Top" Width="197" />
                        <Button Content="ENTRAR"  FontSize="11" FontWeight="DemiBold" Height="23" HorizontalAlignment="Left" Margin="113,141,0,0" Name="btnLogIn" VerticalAlignment="Top" Width="75" Click="btnLogIn_Click" />
                        <Label Visibility="Hidden" Content="Error: el usuario o la contraseña son incorrectos!" Foreground="Red" Height="18" HorizontalAlignment="Left" Margin="27,120,0,0" Name="lblLoginError" VerticalAlignment="Top" />
                        <Label Content="Entrar al sistema" FontSize="22" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="11,2,0,0" Name="label3" VerticalAlignment="Top" Width="177" />
                        <Border BorderBrush="#5C5C5C" BorderThickness="0,1,0,0" Height="11" HorizontalAlignment="Left" Margin="8,32,0,0" Name="border1" VerticalAlignment="Top" Width="285" />
                    </Grid>
                </Border>
            </Grid>
            <Image Height="91" HorizontalAlignment="Left" Margin="105,6,0,0" Name="im1" Source="/Project;component/Images/pob.png" Stretch="Fill" VerticalAlignment="Top" Width="91" />
            <Image Height="99" HorizontalAlignment="Right" Margin="0,6,124,0" Name="im2" Source="/Project;component/Images/bpaf.png" Stretch="Fill" VerticalAlignment="Top" Width="91" />
            <Label Content="BRIGADA DE PROTECCION A LA FAMILIA" FontWeight="Bold" FontSize="26"  Height="28" Margin="205,6,224,0" Name="title" VerticalAlignment="Top" />
                <Label Content="UCB Students, Todos los derechos reservados®" Foreground="Gray" FontStyle="Italic" Name="lblRights" Height="28" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="262" />
            </Grid>
        </Grid>
    </Grid>
</Window>
